/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.service.impl;

import com.click.app.dao.PeriodPaymentEmployeeDao;
import com.click.app.model.PeriodPaymentEmployee;
import com.click.app.service.PeriodPaymentEmployeeManager;

/**
 *
 * @author ronald
 */
public class PeriodPaymentEmployeeManagerImpl extends GenericManagerImpl<PeriodPaymentEmployee, Long>
                                              implements PeriodPaymentEmployeeManager {
    PeriodPaymentEmployeeDao periodPaymentEmployeeDao;

    public PeriodPaymentEmployeeManagerImpl(PeriodPaymentEmployeeDao periodPaymentEmployeeDao) {
        super(periodPaymentEmployeeDao);
        this.periodPaymentEmployeeDao = periodPaymentEmployeeDao;
    }
    public PeriodPaymentEmployee getCurrentPeriodByIdEmployeeAndRole(Long idEmployee , Long idRole){
        return periodPaymentEmployeeDao.getCurrentPeriodByIdEmployeeAndRole(idEmployee , idRole);
    }
    
}
